package com.test.task;

import java.util.concurrent.Callable;

public abstract class CallableTask<T> implements Callable<Result> {

	private final T t = null;

	public Result call() throws Exception {
		return work(t);
	}

	public abstract Result work(T t);

}
